﻿using System.Collections.Generic;

namespace Unijovem.Domain.Utils
{
    interface IGeneralAction
    {
        void Save();
        void Delete();
        T SelectById<T>(int id) where T : new();
        T SelectActiveById<T>(int id) where T : new();
        List<T> SelectAll<T>();
        List<T> SelectAllActive<T>() where T : new();
    }
}
